<html>
<head>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

window.addEventListener('load', function() {
    function finish()
    {
        iframe.remove();
        testRunner.notifyDone();
    }
    window._iframeLoaded = finish;
    var iframe = document.createElement("iframe");
    document.body.appendChild(iframe);
    iframe.src = "resources/page-with-large-script.cgi?750000";
}, false);

</script>
</head>
<body>
<p>This tests time complexity of parsing HTML with large inlined script.</p>
</body>
</html>
